#include "prorotype.h"

int main(){
    ProtoType* resume_jack = new Resume();
    resume_jack->setName("Jack");
    resume_jack->setAge(28);
    resume_jack->setWorkExperies("programmer");
    resume_jack->setLastCompany("alibaba");
    resume_jack->showInformation();

    ProtoType* resume_tony = resume_jack->clone();
    resume_tony->setName("Tony");
    resume_tony->setAge(30);
    resume_tony->showInformation();

    ProtoType* resume_james = resume_jack->clone();
    resume_james->setName("James");
    resume_james->setAge(35);
    resume_james->showInformation();

    delete resume_jack;
    delete resume_tony;
    delete resume_james;
    return 0;
}